print("Введите скобочную последовательность")
p = input()
p = list(p)
s = []
for i in range (len(p)):
    if p[i] =="{" or p[i] =="}" or p[i] =="[" or p[i] =="]"or p[i] =="<" or p[i] == ">"or p[i] =="(" or p[i] ==")":
        s.append(p[i])
print(s)
i = 0
k = 0
count = 0
while k != 25:
    if i + 1 == "(" and s[i + 1] == ")":
        s.pop[i]
        s.pop[i]
        i = 0
        count += 1

print("Пары скобок", coint)

if len(s) == 0:
    print("True")
else:
    print("False")
